package com.example.back.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Post implements Serializable {
    /*主键*/
    private Integer id;
    /*发布博客用户id*/
    private Integer userId;
    /*标题*/
    private String title;
    /*发布时间*/
    private String time;
    /*内容*/
    private String text;
    /*媒体资源路径*/
    private String url;
    /*浏览量*/
    private Integer browse;
}
